package com.lx.tanks;

/**
 * Created by lx on 2017/4/7.
 */
public class TransController {

    public static void main(String[] args) throws  Exception{

        TanksFrame tanksFrame=new TanksFrame();

        while (true){
            //重新绘制
            tanksFrame.repaint();
            Thread.sleep(1000 / 60);
        }
    }
}
